package com.shanjupay.merchant.controller;


import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @Description
 * @Author zhangbing
 * @Date 2024/5/6 10:50
 **/
@RestController
public class TestController {

    @RequestMapping("/hello")
    public String hello(){
        return "hello";
    }

    @PostMapping("/hi")
    public String hi(@RequestParam String name){

        return "hi"+name;
    }

}
